package com.ruoyi.yipaiju.mapper;

import java.util.List;
import com.ruoyi.yipaiju.domain.DiscountHouseBookingorderFollower;
import org.apache.ibatis.annotations.Param;

/**
 * fo_discount_house_bookingorder_followerMapper接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface DiscountHouseBookingorderFollowerMapper 
{
    /**
     * 查询fo_discount_house_bookingorder_follower
     * 
     * @param id fo_discount_house_bookingorder_follower主键
     * @return fo_discount_house_bookingorder_follower
     */
    public DiscountHouseBookingorderFollower selectDiscountHouseBookingorderFollowerById(Long id);

    /**
     * 查询fo_discount_house_bookingorder_follower列表
     * 
     * @param discountHouseBookingorderFollower fo_discount_house_bookingorder_follower
     * @return fo_discount_house_bookingorder_follower集合
     */
    public List<DiscountHouseBookingorderFollower> selectDiscountHouseBookingorderFollowerList(DiscountHouseBookingorderFollower discountHouseBookingorderFollower);

    /**
     * 可以业务主键查询一条fo_discount_house_bookingorder_follower
     *
     * @param discountHouseBookingorderFollower fo_discount_house_bookingorder_follower
     * @return fo_discount_house_bookingorder_follower集合
     */
    public DiscountHouseBookingorderFollower selectOneDiscountHouseBookingorderFollower(DiscountHouseBookingorderFollower discountHouseBookingorderFollower);

    /**
     * 新增fo_discount_house_bookingorder_follower
     * 
     * @param discountHouseBookingorderFollower fo_discount_house_bookingorder_follower
     * @return 结果
     */
    public int insertDiscountHouseBookingorderFollower(DiscountHouseBookingorderFollower discountHouseBookingorderFollower);

    /**
     * 修改fo_discount_house_bookingorder_follower
     * 
     * @param discountHouseBookingorderFollower fo_discount_house_bookingorder_follower
     * @return 结果
     */
    public int updateDiscountHouseBookingorderFollower(DiscountHouseBookingorderFollower discountHouseBookingorderFollower);

    /**
     * 条件修改fo_discount_house_bookingorder_follower
     *
     * @param discountHouseBookingorderFollower fo_discount_house_bookingorder_follower
     * @param discountHouseBookingorderFollower fo_discount_house_bookingorder_follower条件
     * @return 结果
     */
    public int updateDiscountHouseBookingorderFollowerCondition(@Param("discountHouseBookingorderFollower") DiscountHouseBookingorderFollower discountHouseBookingorderFollower, @Param("discountHouseBookingorderFollowerCondition") DiscountHouseBookingorderFollower discountHouseBookingorderFollowerCondition);

    /**
     * 删除fo_discount_house_bookingorder_follower
     * 
     * @param id fo_discount_house_bookingorder_follower主键
     * @return 结果
     */
    public int deleteDiscountHouseBookingorderFollowerById(Long id);

    /**
     * 条件删除fo_discount_house_bookingorder_follower
     *
     * @param discountHouseBookingorderFollower fo_discount_house_bookingorder_follower
     * @return 结果
     */
    public int deleteDiscountHouseBookingorderFollowerByCondition(DiscountHouseBookingorderFollower discountHouseBookingorderFollower);

    /**
     * 批量删除fo_discount_house_bookingorder_follower
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDiscountHouseBookingorderFollowerByIds(Long[] ids);
}
